import { ref } from "vue";
import { defineStore } from "pinia";

export const useThemeStore = defineStore("theme", () => {
  const theme = ref("black");

  const setter = (value) => {
    theme.value = value;
  };

  return { theme, setter };
});
